Api.ReadSlaveEEprom method
Reads a double word from a slave's EEPROM.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsCommandStatus<uint> ReadSlaveEEprom(
int SlaveId,
int Offset
)
Public Function ReadSlaveEEprom(
SlaveId As Integer,
Offset As Integer
) As KsCommandStatus(Of UInteger)
Parameters
SlaveId
Type: int
The slave index. This index value is automatically assigned by the KINGSTAR master when the EtherCAT network starts, based on the physical connection order. The first device connected directly to the master is assigned Index 0, followed by Index 1, Index 2, and so on. These indexes remain consistent within the slave array even if devices are added, removed, or reconnected. Please refer to the use cases in HotConnect, Repair, and Restart for more details.
Offset
Type: int
The offset in the EEPROM space.
Return value
Type: KsCommandStatus<uint>
Returns the KsCommandStatus class and an unsigned integer value.
Usable EtherCAT states
ecatInit, ecatPreOP, ecatSafeOP, ecatOP
Examples
N/A
See also